package com.huangwenshuo.futurestarschoolmanagement.mapper;

import com.huangwenshuo.futurestarschoolmanagement.pojo.dto.CoursewareDto;
import com.huangwenshuo.futurestarschoolmanagement.pojo.po.Folder;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.huangwenshuo.futurestarschoolmanagement.pojo.vo.FoldersVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author huangwenshuo
 * @since 2021-03-07
 */
@Mapper
public interface FolderMapper extends BaseMapper<Folder> {

    List<FoldersVO> getFliesByUid(Integer uid);

    void addFo(@Param("dto") CoursewareDto.CPage page);
}
